 |
|
 |
Subject: I hope someone can help me with this development question about preventing documents changing. |
 |
 |
 |
Product Area: Domino Server |
 |
Technical Area: Application Development |
 |
Platform: Windows |
 |
Release: 8.5.2 |
 |
Reproducible: Always |
 |
 |
 |
 |
First a couple symptoms I have noticed:
1) If I open Lotus Notes and open a message from that originated from the internet, I can close it and it is still exactly the same with same fields/objects the same. But if I open the message, make one change and save it, the message goes through some kind of conversion process because attachments move from being $FILE objects to being part of the message body. I would think that by adding one letter to the message body that the save would only affect the body field. Now if I open the message it still looks as I would expect but if looking at the properties you can defintely see a difference in the fields.
2) Programmatically I have noticed something very similar. I can open the message and see the fields and values as I would expect. I can copy the message from one database to another and it still looks the same using a function like NSFDbCopyNote(). But if I open the message, add a new field, and then save the message other fields get changed. Again, it may look the same when opening with a notes client but why do the fields change just because I want to add a field?
Things I have tried:
I have opened the message, closed the message - no change.
I have opened the message, saved the message, closed the message - no change.
I can copy the message from one database to another and side by side the fields look the same so no change.
But if I make the slightest change to the document and save it, the message seems to go through some kind of conversion process. I do not know everything that has been changed but I can say the $FILE objects disappear the the attachments data becomes part of the message body.
And to my main question:
How can I copy a message from one database to another, and add a simple text field to the newly copied document without the other fields being changed automatically by I am guessing some kind of internal process within Domino?
From a user point of view if the message still opens and looks the same then they would probably not care. But from a programming perspective it does make a difference and so I am just wondering there is some way to prevent this conversion process from occurring.
Thank you
 
Feedback number WEBB8LHMX7 created by ~Maria Brevelusonakoi on 09/08/2011

Status: Open
Comments:

I hope someone can help me with thi... (~Maria Brevelus... 8.Sep.11)
. . MIME Conversion (~Sarah Fezboosi... 9.Sep.11)
. . MIME conversion (~Bill Frokimari... 9.Sep.11)
. . . . thank you (~Maria Brevelus... 12.Sep.11)
. . if you're opening the document... (~Jennifer Desve... 9.Sep.11)
. . . . actually I think I made a mistake, ... (~Maria Brevelus... 14.Sep.11)
. . . . This a good thing to look for... (~Maria Brevelus... 15.Sep.11) |
|  |
|